package org.jdk17.example.lang.record;

public class UserRecordMain {

	public static void main(String[] args) {
		UserRecord user = new UserRecord(1, "tony", 20);
		System.out.println("user.id:" + user.id());
		System.out.println("user.name:" + user.name());
		System.out.println("user.age:" + user.age());
		System.out.println("user:" + user);
		
	}
}
